package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.RealVirtualItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 实际虚拟Item mapper
 * @Author: xiaoyq
 * @Date:   2023-11-15
 * @Version: V1.0
 */
public interface RealVirtualItemMapper extends BaseMapper<RealVirtualItem> {
    /**
     * 根据名称查询实际虚拟Item信息
     * @param name
     * @return
     */
    RealVirtualItem selectByName(@Param("name") String name);

    Integer selectByClusterIdCount(@Param("clusterId") String clusterId);

    List<RealVirtualItem> selectAll();
}
